﻿namespace Kay.Nuget.Helper
{
    /// <summary>
    /// 程序项目文件对象
    /// </summary>
    public class NugetProject
    {
        /// <summary>
        /// 关联项目路径
        /// </summary>
        public string Proj { get; set; }

        /// <summary>
        /// 项目对应 Package 文件路径
        /// </summary>
        public string Nupkg { get; set; }

        /// <summary>
        /// 推送包使用的 ApiKey
        /// </summary>
        public string Key { get; set; }

        /// <summary>
        /// 推送包的 Url 地址
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// 项目对应的说明文件路径
        /// </summary>
        public string Nuspec { get; set; }

        /// <summary>
        /// 锁定 Key
        /// </summary>
        public bool LockKey { get; set; }

        /// <summary>
        /// 锁定 源
        /// </summary>
        public bool LockSource { get; set; }

        /// <summary>
        /// 使用相对路径
        /// </summary>
        public bool IsRelativePath { get; set; }
    }
}